/*
 ******************************************************************
 *      
 * 域名空间　	: GreatB2C.Model
 * 类　名　称	: Producer.cs
 * 类　功　能	: 返回数据集是基于Model对象
 * 类　流　程    :                             
 * 运用算法　	:                             
 * 编　写　人	: wangchao             
 * 编写日期　	: 2011/4/4
 * 最近更新日期　:	    
 * 版　　本　	: V1.0                           
 * 描　　述　	: Descript of Class                                                 
 *                                        
 ******************************************************************
*/

using System;
using System.Text;

namespace GreatB2C.Model
{
    /// <summary>
    /// Descript of this class
    /// </summary>
    [Serializable]
    public class Producer
    {
        // 主键
        protected int _ProducerID = 0;

        //其它字段
        protected int _ProducerType = 0;
        protected string _ProducerName = String.Empty;
        protected string _ProducerShortName = String.Empty;
        protected string _ProducerPhoto = String.Empty;
        protected DateTime _BirthDay;
        protected string _Address = String.Empty;
        protected string _Postcode = String.Empty;
        protected string _Phone = String.Empty;
        protected string _Fax = String.Empty;
        protected string _Email = String.Empty;
        protected string _Homepage = String.Empty;
        protected string _ProducerIntro = String.Empty;
        protected DateTime _LastUseTime;
        protected bool _Passed = false;
        protected bool _onTop = false;
        protected bool _IsElite = false;
        protected int _Hits = 0;


        #region Public Properties
        /// <summary>
        /// 生产商ID
        /// </summary>
        public int ProducerID
        {
            get { return _ProducerID; }
            set { _ProducerID = value; }
        }


        /// <summary>
        /// 生产商分类
        /// </summary>
        public int ProducerType
        {
            get { return _ProducerType; }
            set { _ProducerType = value; }
        }

        /// <summary>
        /// 生产商
        /// </summary>
        public string ProducerName
        {
            get { return _ProducerName; }
            set { _ProducerName = value; }
        }

        /// <summary>
        /// 生产商简称
        /// </summary>
        public string ProducerShortName
        {
            get { return _ProducerShortName; }
            set { _ProducerShortName = value; }
        }

        /// <summary>
        /// 生产商图片
        /// </summary>
        public string ProducerPhoto
        {
            get { return _ProducerPhoto; }
            set { _ProducerPhoto = value; }
        }

        /// <summary>
        /// 创立日期
        /// </summary>
        public DateTime BirthDay
        {
            get { return _BirthDay; }
            set { _BirthDay = value; }
        }

        /// <summary>
        /// 地址
        /// </summary>
        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }

        /// <summary>
        /// 邮政编码
        /// </summary>
        public string Postcode
        {
            get { return _Postcode; }
            set { _Postcode = value; }
        }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }

        /// <summary>
        /// 传真
        /// </summary>
        public string Fax
        {
            get { return _Fax; }
            set { _Fax = value; }
        }

        /// <summary>
        /// 电子信箱
        /// </summary>
        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }

        /// <summary>
        /// 主页
        /// </summary>
        public string Homepage
        {
            get { return _Homepage; }
            set { _Homepage = value; }
        }

        /// <summary>
        /// 生产商简介
        /// </summary>
        public string ProducerIntro
        {
            get { return _ProducerIntro; }
            set { _ProducerIntro = value; }
        }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime LastUseTime
        {
            get { return _LastUseTime; }
            set { _LastUseTime = value; }
        }

        /// <summary>
        /// 是否通过
        /// </summary>
        public bool Passed
        {
            get { return _Passed; }
            set { _Passed = value; }
        }

        /// <summary>
        /// 固顶
        /// </summary>
        public bool onTop
        {
            get { return _onTop; }
            set { _onTop = value; }
        }

        /// <summary>
        /// 推荐
        /// </summary>
        public bool IsElite
        {
            get { return _IsElite; }
            set { _IsElite = value; }
        }

        /// <summary>
        /// 点击数
        /// </summary>
        public int Hits
        {
            get { return _Hits; }
            set { _Hits = value; }
        }
        #endregion
    }
}
